//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.github.wxpay.sdk;

import java.io.ByteArrayInputStream;
import java.io.InputStream;

public class MyWXPayConfig extends WXPayConfig {
    String appID;
    String mchID;
    String key;
    String domain;
    byte[] certData;

    public MyWXPayConfig() {
    }

    public String getAppID() {
        return this.appID;
    }

    public void setAppID(String appID) {
        this.appID = appID;
    }

    public String getMchID() {
        return this.mchID;
    }

    public void setMchID(String mchID) {
        this.mchID = mchID;
    }

    public String getKey() {
        return this.key;
    }

    InputStream getCertStream() {
        return new ByteArrayInputStream(this.certData);
    }

    IWXPayDomain getWXPayDomain() {
        return new MyWXPayDomain();
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getDomain() {
        return this.domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public byte[] getCertData() {
        return this.certData;
    }

    public void setCertData(byte[] certData) {
        this.certData = certData;
    }
}
